import request from "@/utils/request";
import store from '@/pages/index/redux'

// home接口 
export default {
  home (data) {
    const { token } = store.getState().userInfo
    let params = Object.assign({
      token
    }, data)
    return request({
      url: '/test/home',
      method: 'GET',
      params
    })
  }
} 